package com.itheima;

/**
 * @auther Macrydy
 * @date 2020/7/13 11:40
 */
public class Demo2 {
    public static void main(String[] args) throws ClassNotFoundException {
        //
        Class clazz1 = Class.forName("com.itheima.Student");
        System.out.println(clazz1);
        System.out.println("=====================");
        //
        Class Clazz2 = Student.class;
        System.out.println(clazz1);
        System.out.println("=====================");
        //
        Student student = new Student();
        Class clazz3 = student.getClass();
        System.out.println(clazz1);
    }
}
